package com.heima.model.user.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Date;

/**  App用户关注信息表
 * @author rookie001
 * @creat 2023-06-23-10:44
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@TableName("ap_user_follow")
public class ApUserFollow {
    private static final long serialVersionUID = 1L;
    // 主键
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //用户ID
    @TableField("user_id")
    private Integer userId;
    //粉丝Id
    @TableField("follow_id")
    private Integer followId;
    //粉丝名称
    @TableField("follow_name")
    private String followName;
    //关注度 0 偶尔感兴趣 1一般 2经常
    @TableField("level")
    private short level;
    //是否动态通知  通知 true 不通知 false
    @TableField("is_notice")
    private boolean isNotice;
    //创建时间
    @TableField("created_time")
    private Date createdTime;

}
